import Vue from 'vue'
import Router from 'vue-router'
import home from '@/components/home/home'
import City from '@/components/city/city'
import Farme from "@/components/details/farme"
import Push from "@/components/Push/Push"
import pushimg from "@/components/Push/Pushimg"
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    } ,
    {
      path: '/city',
      name: 'city',
      component:City
    },
    {
      path:"/details/:id",
      name:"details",
      component:Farme
    },
    {
      path:"/push",
      name:"push",
      component:Push
    },
    {
      path:"/pushimg",
      name:"pushimg",
      component:pushimg
    }
  ]
})
